/*******************************************************************************
*
* Copyright (C) 2013 - 2015, Jeffery Jiang, <china_jeffery@163.com>.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
*
* Expect bugs
*
* Please use and enjoy. Please let me know of any bugs/mods/improvements
* that you have found/implemented and I will fix/incorporate them into this
* file.
*
*******************************************************************************/

#ifndef __IPC_TYPES_EF345D_H__
#define __IPC_TYPES_EF345D_H__

#ifndef _INC_WINDOWS
#include <Windows.h>
#endif

typedef void* H_IPC;

typedef struct _IPCDetail
{
    char szIPCName[MAX_PATH];
    char szProcessName[MAX_PATH];
    DWORD dwProcessID;

	_IPCDetail() {
		ZeroMemory(szIPCName, sizeof(szIPCName));
		ZeroMemory(szProcessName, sizeof(szProcessName));
		dwProcessID = 0;
	}
}IPCDetail;


// Error code
//

#define IPC_TIMEOUT -1
#define IPC_UNDEFINED_ERROR -2

#endif